|
A package diagram in the Unified Modeling Language depicts the dependencies between the packages that make up a model. == Overview == In addition to the standard UML Dependency relationship, there are two special types of dependencies defined between packages: * package import * package merge A ''package import'' is "a relationship between an importing namespace and a package, indicating that the importing namespace adds the names of the members of the package to its own namespace." 〔(OMG Unified Modeling Language (OMG UML), Infrastructure, V2.1.2 ) p. 149.〕 By default, an unlabeled dependency between two packages is interpreted as a package import relationship. In this relationship, elements within the target package will be imported into the source package. A ''package merge'' is "a directed relationship between two packages, that indicates that the contents of the two packages are to be combined. It is very similar to Generalization in the sense that the source element conceptually adds the characteristics of the target element to its own characteristics resulting in an element that combines the characteristics of both"〔(OMG Unified Modeling Language (OMG UML), Infrastructure, V2.1.2 ) p. 160.〕 In this relationship, if an element exists within both the source package and the target package, then the source element's definition will be expanded to include the target element's definition. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Package diagram」の詳細全文を読む スポンサード リンク
|